home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d18
/
turbotut.arc
/
REPEATLP.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1989-06-30
|
297 b
|
15 lines
PROGRAM repeat_loop_example;
VAR count : INTEGER;
BEGIN
count := 4;
REPEAT
WRITE('This is in the ');
WRITE('REPEAT loop, and ');
WRITE('the index is',count:4);
WRITELN;
count := count + 2;
UNTIL count = 20;
WRITELN(' We have completed the loop ');
END.